package com.regexpractice;

/**
 * @Description:
 * @Author: yangzhiwei
 * @Date: 2021/1/4 17:56
 */
public class RegexPractice {
    public static void main(String[] args) {
        // 匹配Java8.0 和java8.0
        String regex = "[Jj]ava8.0";
        String str = "Java8.0 Java8.0 Jaava8.0";
       // String str
        System.out.println(str.matches(str));
    }
}
